home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / PInterfaces / FileTransferTools.p < prev    next >
Text File  |  1996-05-01  |  2KB  |  107 lines

  1. {
  2.      File:        FileTransferTools.p
  3.  
  4.      Contains:    CommToolbox File Transfer Tools Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.0d3 on Copland DR1
  8.  
  9.      Copyright:    © 1984-1996 by Apple Computer, Inc.  All rights reserved.
  10.  
  11.      Bugs?:        If you find a problem with this file, send the file and version
  12.                  information (from above) and the problem description to:
  13.  
  14.                      Internet:    apple.bugs@applelink.apple.com
  15.                      AppleLink:    APPLE.BUGS
  16.  
  17. }
  18. {$IFC UNDEFINED UsingIncludes}
  19. {$SETC UsingIncludes := 0}
  20. {$ENDC}
  21.  
  22. {$IFC NOT UsingIncludes}
  23.  UNIT FileTransferTools;
  24.  INTERFACE
  25. {$ENDC}
  26.  
  27. {$IFC UNDEFINED __FILETRANSFERTOOLS__}
  28. {$SETC __FILETRANSFERTOOLS__ := 1}
  29.  
  30. {$I+}
  31. {$SETC FileTransferToolsIncludes := UsingIncludes}
  32. {$SETC UsingIncludes := 1}
  33.  
  34. {$IFC UNDEFINED __DIALOGS__}
  35. {$I Dialogs.p}
  36. {$ENDC}
  37. {$IFC UNDEFINED __FILETRANSFERS__}
  38. {$I FileTransfers.p}
  39. {$ENDC}
  40.  
  41. {$PUSH}
  42. {$ALIGN MAC68K}
  43. {$LibExport+}
  44.  
  45. {$IFC FOR_SYSTEM7_ONLY }
  46.  
  47. CONST
  48.                                                                 {  DEFs  }
  49.     fdefType                    = 'fdef';
  50.     fsetType                    = 'fset';
  51.     fvalType                    = 'fval';
  52.     flocType                    = 'floc';
  53.     fscrType                    = 'fscr';
  54.     fbndType                    = 'fbnd';
  55.     fverType                    = 'vers';
  56.  
  57.                                                                 {  control  }
  58.     ftInitMsg                    = 0;
  59.     ftDisposeMsg                = 1;
  60.     ftSuspendMsg                = 2;
  61.     ftResumeMsg                    = 3;
  62.     ftMenuMsg                    = 4;
  63.     ftEventMsg                    = 5;
  64.     ftActivateMsg                = 6;
  65.     ftDeactivateMsg                = 7;
  66.     ftGetErrorStringMsg            = 8;
  67.     ftAbortMsg                    = 52;
  68.     ftStartMsg                    = 100;
  69.     ftExecMsg                    = 102;
  70.     ftSendMsg                    = 103;
  71.     ftReceiveMsg                = 104;                            {  setup  }
  72.     ftSpreflightMsg                = 0;
  73.     ftSsetupMsg                    = 1;
  74.     ftSitemMsg                    = 2;
  75.     ftSfilterMsg                = 3;
  76.     ftScleanupMsg                = 4;                            {  validate  }
  77.     ftValidateMsg                = 0;
  78.  
  79.     ftDefaultMsg                = 1;                            {  scripting  }
  80.     ftMgetMsg                    = 0;
  81.     ftMsetMsg                    = 1;                            {  localization  }
  82.     ftL2English                    = 0;
  83.     ftL2Intl                    = 1;
  84.  
  85.  
  86. TYPE
  87.     FTSetupStructPtr = ^FTSetupStruct;
  88.     FTSetupStruct = RECORD
  89.         theDialog:                DialogPtr;                                {  the dialog form the application  }
  90.         count:                    INTEGER;                                {  first appended item  }
  91.         theConfig:                Ptr;                                    {  the config record to setup  }
  92.         procID:                    INTEGER;                                {  procID of the tool  }
  93.     END;
  94.  
  95.     FTSetupPtr                            = ^FTSetupStruct;
  96. {$ENDC}
  97. {$ALIGN RESET}
  98. {$POP}
  99.  
  100. {$SETC UsingIncludes := FileTransferToolsIncludes}
  101.  
  102. {$ENDC} {__FILETRANSFERTOOLS__}
  103.  
  104. {$IFC NOT UsingIncludes}
  105.  END.
  106. {$ENDC}
  107.